import request from '@/utils/request'

// 查询心率变异性列表
export function listRing_hrv(query) {
  return request({
    url: '/ring/ring_hrv/list',
    method: 'get',
    params: query
  })
}

// 查询心率变异性详细
export function getRing_hrv(id) {
  return request({
    url: '/ring/ring_hrv/' + id,
    method: 'get'
  })
}

// 新增心率变异性
export function addRing_hrv(data) {
  return request({
    url: '/ring/ring_hrv',
    method: 'post',
    data: data
  })
}

// 修改心率变异性
export function updateRing_hrv(data) {
  return request({
    url: '/ring/ring_hrv',
    method: 'put',
    data: data
  })
}

// 删除心率变异性
export function delRing_hrv(id) {
  return request({
    url: '/ring/ring_hrv/' + id,
    method: 'delete'
  })
}
